package com.mgkj.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mgkj.entity.Dscmb;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;

@Mapper
@DS("dscsys")
public interface DscmbMapper extends BaseMapper<Dscmb> {
    Integer countByMB001(@Param("MB001")String MB001);

    int deleteByMB001In(@Param("MB001Collection") Collection<String> MB001Collection);

    int updateByMB001(@Param("updated") Dscmb updated);


}